package com.xzx.car_accessories.web;

import com.xzx.car_accessories.domain.CarAccessory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.*;

@RestController
//@RequestMapping(value = "/users")     // 通过这里配置使下面的映射都在/users下
public class HelloController {

    @RequestMapping("/hello")
    public String index() {
        return "Hello World";
    }

}